package retrofitdemo.com.night.bean;

import java.io.Serializable;
import java.util.List;

public class FindListCallback implements Serializable{
    /**
     * code : 200
     * msg : 请求成功
     * page : {"end":2,"pageNo":3,"pageSize":1,"pages":3,"start":2,"total":3}
     * result : [{"author":"杨绛","composition":"提到书卷气， 怎么能不提杨绛先生？ 初次见面，钱钟书一眼钟情， 他偷偷写了情诗： \u201c缬眼容光忆见初，蔷薇新瓣浸醍醐。\u201d 她不美，但她风姿如蔷薇。","context":"颉眼容光忆见初，蔷薇新瓣浸醍醐。不知腼洗儿时面，曾取红花和雪无。","createTime":"2020-03-18 14:23:05","dynasty":"近现代","id":"3","remark":"杨绛（1911年7月17日\u20142016年5月25日），本名杨季康，江苏无锡人，中国女作家、文学翻译家和外国文学研究家，钱锺书夫人。","sentence":"颉眼容光忆见初，蔷薇新瓣浸醍醐","source":"摘选自：书卷气，最美的气质(散文集)","title":"无名"}]
     * success : true
     * traceId :
     */

    private String code;
    private String msg;
    private PageBean page;
    private boolean success;
    private String traceId;
    private List<ResultBean> result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class PageBean implements Serializable{
        /**
         * end : 2
         * pageNo : 3
         * pageSize : 1
         * pages : 3
         * start : 2
         * total : 3
         */

        private int end;
        private int pageNo;
        private int pageSize;
        private int pages;
        private int start;
        private int total;

        public int getEnd() {
            return end;
        }

        public void setEnd(int end) {
            this.end = end;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getStart() {
            return start;
        }

        public void setStart(int start) {
            this.start = start;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }
    }

    public static class ResultBean implements Serializable {
        /**
         * author : 杨绛
         * composition : 提到书卷气， 怎么能不提杨绛先生？ 初次见面，钱钟书一眼钟情， 他偷偷写了情诗： “缬眼容光忆见初，蔷薇新瓣浸醍醐。” 她不美，但她风姿如蔷薇。
         * context : 颉眼容光忆见初，蔷薇新瓣浸醍醐。不知腼洗儿时面，曾取红花和雪无。
         * createTime : 2020-03-18 14:23:05
         * dynasty : 近现代
         * id : 3
         * remark : 杨绛（1911年7月17日—2016年5月25日），本名杨季康，江苏无锡人，中国女作家、文学翻译家和外国文学研究家，钱锺书夫人。
         * sentence : 颉眼容光忆见初，蔷薇新瓣浸醍醐
         * source : 摘选自：书卷气，最美的气质(散文集)
         * title : 无名
         */

        private String author;
        private String composition;
        private String context;
        private String createTime;
        private String dynasty;
        private String id;
        private String remark;
        private String sentence;
        private String source;
        private String title;

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getComposition() {
            return composition;
        }

        public void setComposition(String composition) {
            this.composition = composition;
        }

        public String getContext() {
            return context;
        }

        public void setContext(String context) {
            this.context = context;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getDynasty() {
            return dynasty;
        }

        public void setDynasty(String dynasty) {
            this.dynasty = dynasty;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getSentence() {
            return sentence;
        }

        public void setSentence(String sentence) {
            this.sentence = sentence;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
